package com.nf.teamwork.mall.service.impl;

import com.nf.teamwork.mall.dao.CarouselPicDao;
import com.nf.teamwork.mall.entity.CarouselPic;
import com.nf.teamwork.mall.service.CarouselPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LJP
 * @Classname CarouselPicServiceImpl
 * @Date: 2020-02-27 13:35
 * @Description: 轮播图片表service层
 */
@Service
public class CarouselPicServiceImpl implements CarouselPicService {
    @Autowired
    private CarouselPicDao carouselPicDao;
    @Override
    public List<CarouselPic> findAll() {
        return carouselPicDao.findAll();
    }
}
